package com.music.download.crawler;

import cn.hutool.core.lang.Dict;

import java.util.List;

public class CrawlerUtil {

    /**
     * 爬取音乐
     * @return
     */
    public static List<Dict> clawler(String url) throws Exception {
        CrawlerMusic crawlerDetail = new CrawlerMusic("crawler", false, url);
        crawlerDetail.start(1);
        return crawlerDetail.getMusicList();
    }
}
